package com.biannuo.szk.demo.service.impl;

import com.biannuo.szk.demo.dao.entity.DemoUser;
import com.biannuo.szk.demo.dao.mapper.DemoUserMapper;
import com.biannuo.szk.demo.service.IDemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 示例业务
 *
 * @author admin
 */
@Component
public class DemoServiceImpl implements IDemoService {
    @Autowired
    private DemoUserMapper demoUserMapper;

    @Override
    public List<DemoUser> findAll() {
        return demoUserMapper.findAll();
    }
}
